package com.stanford.ml.svm;

/**
 * Feature is a data container used by classifiers
 * @author Fatih Sunor
 *
 */
public class Feature {
	private final int _index;
	private final double _value;

	public Feature(final int index, final double value) {
		_index = index;
		_value = value;
	}

	public int getIndex() {
		return _index;
	}

	public double getValue() {
		return _value;
	}
}
